package map;

public class Circle extends MapTu{

    private Double R;

    public Circle(Double r) {
        R = r;
    }

    public Double getR() {
        return R;
    }

    public void setR(Double r) {
        R = r;
    }

    @Override
    public Double countAcrege() {
        return this.getR()*this.getR()*Math.PI;
    }
}
